@charset "utf-8";

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.border-container {
    position: relative;
    height: 100%;
    border: 1px solid #4138bd;
    background: #040f3c;
    border-radius: 0.5vw;
}

.name-title {
    padding: 0.5vw 1vw;
    border-bottom-right-radius: 6px;
    border-bottom-left-radius: 6px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center; /* 水平居中 */
}

.tile-size-color {
    font-size: 2vw;
    color: #68d8fe;
}

.process-table {
    width: 100%;
    height: calc(100% - 2.5vw); /* Subtract the height of the title */
    padding: 3.5vw 1.2vw 1.2vw 1.2vw;
    box-sizing: border-box;
}

.process-th {
    height: 6%;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #68d8fe;
    padding: 0 0.625rem;
    font-size: 1.4vw;
    display: flex;
    font-weight: bold;
    align-items: center;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 5;
}

.process-td {
    height: 98%;
    width: 100%;
    background-color: rgba(144, 152, 234, 0.1);
    font-size: 1.1vw;
    color: #68d8fe;
    display: flex;
    justify-content: space-between;
    overflow-y: auto; /* Enable vertical scrolling */
    position: relative;
    scrollbar-width: none; /* For Firefox */
}

.process-td::-webkit-scrollbar {
    display: none; /* For Chrome, Safari, and Opera */
}

.process-td ul {
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: opacity 1s ease-in-out;
}

.process-td .item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.45rem;
}

.process-td .item span {
    display: inline-block;
    text-align: center;
}

.process-td .item span:nth-child(1) {
    width: 40%;
}

.process-td .item span:nth-child(2) {
    width: 30%;
}

.process-td .item span:nth-child(3) {
    width: 30%;
}

.process-td ul.fade-out {
    opacity: 0;
}

.process-td ul.fade-in {
    opacity: 1;
}